﻿@inherits RazorEngine.Templating.TemplateBase<CodeBuilder.Models.TemplateModels.DtoFileModel>
using AutoMapper;

namespace @(Model.Namespace).@(Model.DirName).Dto
{
    public class @(Model.Name)MapProfile : Profile
    {
        public @(Model.Name)MapProfile()
        {
            CreateMap<@(Model.Name), @(Model.Name)ListDto>().ReverseMap();
            CreateMap<@(Model.Name), @(Model.Name)EditDto>().ReverseMap();
        }
    }
}
